﻿#region

using System.Runtime.Serialization;

#endregion

namespace Core.Contract.MessageContract
{
    [DataContract]
    public class ErrorFault
    {
        public ErrorFault(string erroCode, string message)
        {
            Message = message;
            Code = erroCode;
        }

        [DataMember]
        public string Message { get; set; }

        [DataMember]
        public string Code { get; set; }
    }
}